package hk.ust.comp3111.ustnutrition.data.db;


import java.util.Map;

public class TableStatus extends AppConfig {
	
	String channel;
	
	public String getChannel() {
		return channel;
	}
	
	public void setChannel(String channel) {
		this.channel = channel;
		commit();
	}
	
	@Override
	public void loadInfo(Map<String, Object> obj) {
		super.loadInfo(obj);
		channel = (String)obj.get("channel");
	}

	@Override
	public void putInfo(Map<String, Object> obj) {
		super.putInfo(obj);
		obj.put("channel", channel);
	}
}
